package com.econ.powercloud.ems.pojo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SceneStructureVO {

    @ApiModelProperty(value = "主键自增")
    private Integer pid;

    @ApiModelProperty(value = "父节点id")
    private Integer parentId;

    @ApiModelProperty(value = "是否为子节点，1：是，0：否")
    private Integer leaf;

    @ApiModelProperty(value = "同级节点排序顺序")
    private Integer orderNumber;

    @ApiModelProperty(value = "场景编号")
    private String sceneCode;

    @ApiModelProperty(value = "节点id")
    private String nodeId;

    @ApiModelProperty(value = "节点名称")
    private String nodeName;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改人")
    private String modifyBy;

    @ApiModelProperty(value = "子节点")
    private List<SceneStructureVO> childStructureList;
}

